<?php

$showTab	= $this->countModules('tab03') || $this->countModules('tab04') || $this->countModules('tab05') ;
$showTab1  = $this->countModules('tab06');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TPM Solutions</title>
<!-- Stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/style.css"  />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/ddsmoothmenu.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/jquery.fancybox-1.3.4.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/tpmsolutions/css/tpm.css"  />

<!-- Javascript -->
<script src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/ddsmoothmenu.js" type="text/javascript"></script>
<script src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/contentslider.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jcarousellite_1.0.1.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jquery.easing.1.1.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/cufon-yui_.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/DIN_500.font.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/menu.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/tabs.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/tpmsolutions/js/jquery.fancybox-1.3.4.pack.js"></script>
</head>
<body>
<div id="bg">
<!-- Wapper Sec -->
	<div id="wrapper_sec">
		 <!-- masterhead -->
			<div id="masterhead">
				<!-- Logo -->
                	<div class="logo"><a href="index.html"><img src="<?php echo $this->baseurl ?>/templates/tpmsolutions/images/logo_TPM_2.png" alt="" /></a></div>
                	<!-- masterhead Right Section -->
						<div class="topright_sec">
                    		<!-- top navigation -->
                    			<div class="topnavigation">

                                </div>
                                <div class="clear"></div>
                    			<!-- top search -->
                                	<div class="top_search">
                                            
                                            <jdoc:include type="modules" name="top-left"/>
                                            
                                            <!-- top search
                                            <div class="advance_search"><a href="#">Advance Option</a></div>
                                            <ul>
                                                    <li><input name="txt" value="Search you any keyword"
                                                    onfocus="if(this.value=='Search you any keyword') {this.value='';}"
                                                                            onblur="if(this.value=='') {this.value='Search you any keyword';}"   type="text" /></li>
                                                <li><a class="search" href="#">Search</a></li>
                                             </ul> -->
                                        </div>
                         	<div class="clear"> </div>       	
                    	</div>
                    <div class="clear"></div>
                    	  <!-- Navigation -->
                            <div class="navigation">
                                
									<jdoc:include type="modules" name="navigation"/>
                                
                                                         
                                    <div class="clear"></div>	
                            </div>    
		    </div>
		<!-- Content Seciton -->
        	<div id="content_section">
        		<!-- News Updates -->
            		<div class="news_updates">
            			   	<span class="news_update"><?php echo JText::_('BREADCRUMBS'); ?></span>
							
							<jdoc:include type="modules" name="breadcrumb"/>

                           	
                    </div>
                    <div class="clear"></div>
				<!-- Col1 -->
                	<div class="col1">
                    	<!-- Banner -->
                        	
								
                             
                              
							 
                         <!-- Content Links -->

                         <!-- Content Heading -->
                         
                        <jdoc:include type="message" />
                        <jdoc:include type="component" />
                         
                         
                             
                             
                          <div class="clear"></div>
                             <!-- Content Block -->
                             	<div class="contentblock">
                                	<!-- Tabs -->	
									<?php if($showTab) {?>
                                    	<div class="tabwrapper">
                                        	<div class="tabs_links">
                                            	<ul>
                                                	<li><a  href="#tab1"><?php echo JText::_('NEWS01'); ?></a></li>
                                                    <li><a href="#tab2"><?php echo JText::_('NEWS02'); ?></a></li>                                                    
                                                    <li><a class="nobg1" href="#tab3"><?php echo JText::_('NEWS03'); ?></a></li>
                                                </ul>
                                            </div>
                                            <div class="tab_content" id="tab1" style="display:none" >
													<jdoc:include type="modules" name="tab03"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                            <div class="tab_content" id="tab2" style="display:none" >
												<jdoc:include type="modules" name="tab04"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                            <div class="tab_content" id="tab3" style="display:none" >
												<jdoc:include type="modules" name="tab05"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                        </div> <?php } ?>
                                        <!-- Search Course -->
											<?php if($showTab1) {?>
                                        	<div class="search_course">
                                            	<h3 style="margin-bottom: 6px; margin-top:12px; font-size: 16px; font-family: tahoma"><?php echo JText::_('NEWS04'); ?></h3>
                                                
                                               
                                               
											<div class="tab_content1"  >
											<jdoc:include type="modules" name="tab06"/>
                                            	
                                                <div class="clear"></div>
                                            </div>
                                            
                                                  
                                               
                                            </div><?php } ?>        

                                        <div class="clear"></div>
                               	 	</div>	   
                               	<div class="clear"></div>
                    		<!-- col1 ends -->	
                    </div>
               <!-- Col2 -->
                	<div class="col2">
                    	
							<jdoc:include type="modules" name="banner_QC"/>
                        
                      		<!-- Top Student -->  
                        		<div class="rtab">
                                	<div class="tab_navigation">
                                    	<ul>
                                        	<li class="active" ><a   href="#rtab1"><?php echo JText::_('LASTEST_NEWS'); ?></a></li>
                                        	<li><a href="#rtab2"><?php echo JText::_('MOST_VIEW'); ?></a> </li>
                                        </ul>
                                    </div>
                                    <div class="rtab_content" id="rtab1" style="display:none;">
										<jdoc:include type="modules" name="tab01"/>
                                  
                                        <div class="clear"></div>
                                    </div>
                                    
                                    <div class="rtab_content" id="rtab2" style="display:none;">
										<jdoc:include type="modules" name="tab02"/>
                                    	
                                        <div class="clear"></div>
                                    </div>
                                    
                                </div>
                    		<!-- Our College Gallery -->	
                                
									<jdoc:include type="modules" name="gallery"/>
                                
                    		<div class="clear"></div>	
 						<!--col2 ends -->			
              		</div>
                <div class="clear"></div>
			<!-- Slder -->	
				<div class="image_scroll">
                	<a class="leftarrow" href="#"><img src="<?php echo $this->baseurl ?>/templates/tpmsolutions/images/left_arrow.gif"  alt="" /></a>
                    	<div class="slider1">
                        	<ul>
								<jdoc:include type="modules" name="slider_bot"/>
				
					       </ul>
                        </div>  
                    <a class="rightarrow" href="#"><img src="<?php echo $this->baseurl ?>/templates/tpmsolutions/images/right_arrow.gif"  alt="" /></a>
                </div>		
            </div>	
		<div class="clear"></div>
	</div>
</div>    
<!-- Footer Section -->

<!-- Bototm seciton -->
	<div id="bottom_Section">
	<!-- page bottm -->
       	<div id="pagebottom">
    		<!-- copyright -->
            <div class="copyright">Bản quyền &copy; 2011 thuộc về<a href="http://tpmsolutions.com.vn"> TPM Solutions</a>. Thiết kế bởi <a href="http://hoangkhang.com.vn/">Hoàng Khang Incotech</a></div>
            	<a href="#" class="top">Top</a>
    			<!-- Social Networks -->

             <div class="clear"></div>     	
    	</div>
	</div>
</body>
</html>